#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
# Copyright © chrisZheng
# CreateTime: 2017-02-16 15:51:22
def login(func):
    def inner(*name):
        print 'passed user verification...............'
        func(*name)
    return inner
def home(name):
    print 'welcome [%s] to home page' % name
@login
def tv(name,passd):
    print 'welcome [%s] to tv page' % name 
@login
def moive(name):
    print 'welcome [%s] to moive page' % name

#tv = login(tv)
tv('chris','pwd')
moive('chris')
